// out: ../stylesheets/index.css, soucemap: true, compress: true
@charset 'utf-8';
@yahei: Microsoft YaHei, '微软雅黑', MicrosoftJhengHei;
.min-limit (@type, @limit){
    @{type}: auto !important;
    @{type}: @limit;
    min-@{type}: @limit;
}
.max-limit (@type, @limit){
    @{type}: auto !important;
    @{type}: @limit;
    max-@{type}: @limit;
    overflow: hidden;
}
.dots () {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/* 首页 */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.top {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#container.top-iframe-margin {
    top: 88px;
    _height: ~"expression(document.body.offsetHeight - 88 + 'px')";
}
.container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    _height: 100%;
    background-color: #fff;
    .container-iframe{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
}
.left-iframe {
    position: absolute;
    width: 187px;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
}
.content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
}
.main {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 187px;
    _width: ~"expression(document.body.offsetWidth - 187 + 'px')";
    height: 100%;
    .content-wrap{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        _height: 100%;
        background-color: #fff;
        -webkit-overflow-scrolling: touch;
        overflow: auto;
        &.no-place{
            top: 0;
            _height: 100%;
        }
    }
}
.left-collapse{
    position: absolute;
    left: 0;
    top: 45%;
    z-index: 9999;
    width: 9px;
    height: 56px;
    background: url(../images/left-collapse.gif) -31px -10px no-repeat;
    cursor: pointer;
    opacity: 0.7;
    filter: alpha(opacity=70);
    &:hover{
        opacity: 1;
        filter: alpha(opacity=100);
    }
}
.top-collapse{
    position: absolute;
    top: 88px;
    right: 50%;
    z-index: 999;
    width: 65px;
    height: 9px;
    background: url(../images/top-collapse-white.gif) -7px -2px no-repeat;
    cursor: pointer;
    opacity: 0.7;
    filter: alpha(opacity=70);
    &:hover{
        opacity: 1;
        filter: alpha(opacity=100);
    }
}

.left-menu {
    position: relative;
    height: 100%;
    font-family: @yahei;
    background: #f9f7f4 url(../images/leftline.gif) repeat-y right;
    overflow: hidden;
    zoom: 1;
    a{
        color: #333;
        text-decoration: none;
    }
    .left-menu-title{
        padding-left: 35px;
        font: bold 14px/33px @yahei;
        color: #fff;
        background-color: #508cf9;
        border: 1px solid #d2d4d4;
        a{
            color: #fff;
            &:hover{
                color: #fff;
            }
        }
    }
    .active{
        background-color: #d1e0ed;
    }
}
.left-menu-top {
    position: relative;
    border-right: 1px solid #d2d4d4;
    .left-menu-top-btn {
        position: relative;
        text-align: center;
        overflow: hidden;
        zoom: 1;
        .icon {
            position: absolute;
            top: 0;
            left: 37px;
            img {
                margin: 6px 0;
                vertical-align: middle;
            }
        }
        a{
            display: block;
            height: 30px;
            line-height: 30px;
            padding-left: 65px;
            text-align: left;
            font-size: 14px;
            font-weight: bold;
            color: #000;
            .dots;
            &:hover{
                background-color: #d1e0ed;
            }
        }
    }
}
.left-menu-list {
    _position: relative;
    .left-menu-first-node {
        _position: relative;
        //margin-bottom: -1px;
        font-size: 14px;
        .first-icon {
            position: absolute;
            top: 10px;
            left: 12px;
            width: 20px;
            height: 21px;
            background: url(../images/leftico.png) no-repeat;
        }
        .first-title{
            display: block;
            height: 33px;
            padding-left: 35px;
            line-height: 35px;
            color: #000;
            font-size: 12px;
            border-bottom: 1px solid #d2d4d4;
            border-right: 1px solid #d2d4d4;
            background-color: #eef6fd;
            cursor: pointer;
            &.selected{
                padding-left: 34px;
            }
            .text{
                font-weight: bold;
            }
        }
        .first-children{
            display: none;
        }
    }
    .left-menu-second-node {
        .second-title {
            height: 30px;
            line-height: 30px;
            font-size: 12px;
            cursor: pointer;
            .icon{
                float: left;
                background: url(../images/list.gif) -7px -4px no-repeat;
                width: 9px;
                height: 10px;
                margin: 12px 2px 0 35px;
            }
            .text{
                display: block;
                padding-left: 35px;
            }
            &.selected{
                .icon{
                    background-position: -17px -4px;
                }
            }
            a:hover{
                background-color: #d1e0ed;
                color: #508cf9;
            }
        }
        .menu-son {
            position: relative;
            display: none;
            line-height: 30px;
            font-weight: normal;
            zoom: 1;
            li {
                position: relative;
                *float: left;
                width: 100%;
                font-size: 12px;
                cursor: pointer;
                overflow: hidden;
                zoom: 1;
                .li-icon {
                    float: left;
                    margin-left: 45px;
                    background: url(../images/list.gif) -2px -15px no-repeat;
                    width: 16px;
                    height: 16px;
                    margin-top: 7px;
                }
                &.hover {
                    background-color: #d1e0ed;
                    text-decoration: none;
                }
                a{
                    display: block;
                    .dots;
                    border-right: 1px solid #b7d5df;
                    &:hover{
                        color: #508cf9;
                        text-decoration: none;
                    }
                }
            }
        }
    }
    .active .left-menu-second-node{
        display: block;
    }
}

/*top.html 2015-3-3 jyw*/
.header{
    height: 100%;
    padding: 0 18px;
    background-color: #366dd1;
    overflow: hidden;
    zoom: 1;
    .logo{
        float: left;
        margin-top: 14px;
        padding-right: 30px;
        img{
            display: block;
        }
    }
    .web-title{
        float: left;
        padding-right: 18px;
        font: bold 28px/88px @yahei;
        color: #fff;
        letter-spacing: 2px;
        text-shadow: 2px 0px 5px #000;
        &.mini-title{
            font-size: 16px;
            line-height: 35px;
            font-weight: normal;
            text-shadow: none;
        }
    }
    .icon-list{
        float: left;
        overflow: hidden;
        *zoom: 1;
    }
    .icon-bar{
        min-width: 233px;
        overflow: hidden;
        *zoom: 1;
        .icon-ul{
            overflow: hidden;
            *zoom: 1;
            li{
                float: left;
                width: 78px;
                height: 88px;
                font-size: 12px;
                text-align: center;
                cursor: pointer;
                a{
                    display: block;
                    width: 48px;
                    height: 68px;
                    padding: 10px 16px 10px 14px;
                    color: #fff;
                    &:hover, &.selected{
                        background: url('../images/icon-2.png') -136px 0 no-repeat;
                        text-decoration: none;
                    }
                }
                img{
                    display: block;
                    width: 48px;
                    height: 48px;
                    z-index: -999;
                }
                p{
                    width: 48px;
                    line-height: 30px;
                    .dots();
                }
            }
        }
    }
    .next-list{
        display: none;
        float: left;
        width: 48px;
        height: 68px;
        padding: 10px 16px 10px 14px;
        overflow: hidden;
        *zoom: 1;
        .next-btn{
            display: block;
            width: 48px;
            height: 48px;
            background: url('../images/icon-2.png') -22px 0 no-repeat;
            cursor: pointer;
            &:hover{
                background-position: -78px 0;
            }
        }
        p{
            width: 48px;
            color: #fff;
            text-align: center;
            line-height: 22px;
        }
    }
    .dots-list{
        padding-top: 13px;
        _padding-top: 14px;
        line-height: 5px;
        text-align: center;
        li{
            display: inline-block;
            *display: inline;
            width: 10px;
            height: 5px;
            *zoom: 1;
            &.selected{
                a:link, a:visited, a:visited, a:hover{
                    background-position: 5px -65px;
                }
            }
        }
        li a{
            display: block;
            height: 5px;
            padding: 0 5px;
            background: url('../images/icon-2.png') 5px -55px no-repeat;
            cursor: pointer;
            overflow: hidden;
            *zoom: 1;
        }
    }
    .nums-list{
        display: none;
        width: 48px;
        line-height: 30px;
        color: #fff;
        text-align: center;
    }
    .function-block{
        float: right;
        display: inline;
        margin-top: 20px;
        color: #fff;
        overflow: hidden;
        *zoom: 1;
        a{
            color: #fff;
        }
        &.mini{
            width: 325px;
            margin-top: 6px;
            *margin-top: 7px;
            .function-list{
                float: right;
            }
            .user{
                *display: inline;
                float: left;
                width: 85px;
                .dots();
                margin-right: 0;
                *margin: 0;
            }
            .action-item{
                width: auto;
            }
            .mini-user-nums{
                display: inline;
            }
            .action-user-nums, .action-user, .action-more{
                display: none;
            }
        }
    }
    .action-block{
        margin-top: 12px;
        &.mini{
            width: auto;
        }
    }
    .action-list{
        margin-right: -18px;
        *zoom: 1;
        &:after{
            display: block;
            height: 0;
            content: '.';
            visibility: hidden;
            clear: both;
        }
        .mini-user-nums{
            display: none;
            margin-left: 5px;
        }
        .action-item{
            float: left;
            width: 50px;
            margin-right: 18px;
            text-align: center;
        }
        .action-user-nums, .action-user, .action-more{
            width: 50px;
            height: 48px;
            margin-bottom: 2px;
        }
        .action-more-icon{
            padding-right: 2px;
            background: url('../images/action-footer-icon.png') 100% 100% no-repeat;
            cursor: pointer;
        }
        .action-user-nums{
            font-size: 18px;
            line-height: 48px;
            background: url('../images/icon-nums-bg.png') 0 0 no-repeat;
        }
        .action-user{
            background: url('../images/icon-user-bg.png') 0 0 no-repeat;
        }
        .action-more{
            background: url('../images/icon-more-bg.png') 0 0 no-repeat;
        }
    }
    .function-list{
        padding-left: 10px;
        margin-bottom: 10px;
        .icon{
            display: inline-block;
            *display: inline;
            *zoom: 1;
            width: 14px;
            height: 17px;
            background: url('../images/icon-2.png') 0 3px no-repeat;
            _background-position: 0 2px;
            vertical-align: middle;
        }
        a{
            padding: 0 10px;
            vertical-align: middle;
            &.split{
                border-left: 1px dashed #d0cec2;
            }
            &:hover{
                text-decoration: underline;
            }
            &.help{
                padding-left: 5px;
            }
        }
    }
    .user{
        margin-right: 10px;
        text-align: right;
        .icon{
            display: inline-block;
            *display: inline;
            *zoom: 1;
            width: 14px;
            height: 18px;
            background: url('../images/icon-2.png') 0 -16px no-repeat;
            vertical-align: middle;
        }
        .user-name{
            padding-left: 5px;
            vertical-align: middle;
        }
    }
    .mini-list{
        display: none;
        float: left;
        line-height: 35px;
        a{
            padding: 0 10px;
            color: #fff;
            border-right: 1px solid #13397e;
        }
        .more{
            background: url();
        }
    }
}
.top-list{
    background-color: #fff;
    border: 1px solid #e8e6e6;
    border-bottom: none;
    .top-list-item{
        padding: 0 12px;
        height: 30px;
        line-height: 30px;
        color: #666;
        border-bottom: 1px solid #e8e6e6;
        a{
            color: #666;
        }
    }
    .iconfont{
        margin-right: 5px;
    }
}
.top-list-arrow{
    width: 9px;
    height: 6px;
    background: url('../images/top-list-arrow.gif') 0 0 no-repeat;
}
